Clean up workflow runs: stop running full test suite on every push to main#210
Merged
Clean up workflow runs: stop running full test suite on every push to main#210
Conversation
…ull test from main push Agent-Logs-Url: https://github.com/devcontainer-community/devcontainer-features/sessions/80cb1f5f-8b94-4a7b-a1ed-6b441a10d1d1 Co-authored-by: sebst <592313+sebst@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update workflow to reduce unnecessary test runs
Clean up workflow runs: stop running full test suite on every push to main
Mar 26, 2026
sebst
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The full feature test suite was running redundantly on every push to
main, alongside the already-existing PR-scoped tests and weekly scheduled full suite.Changes
test.yaml— Removepush: branches: [main]trigger; tests now only fire on PRs (changed features only) andworkflow_dispatchvalidate.yml— Addpush: branches: [main]trigger; devcontainer-feature.json validation now runs on every main pushrelease.yaml— Addpush: branches: [main]trigger; features are published and READMEs auto-updated automatically on merge instead of requiring manual dispatchResult
On push to
main: validate + deploy/docs only.On PR: changed-feature tests only.
Weekly: full test suite (unchanged,
scheduled-test.yml).Original prompt
⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.